package com.gzck.gzck_verson2.service;

import cn.dev33.satoken.util.SaResult;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gzck.gzck_verson2.pojo.GProjectInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gzck.gzck_verson2.pojo.GProjectType;
import com.gzck.gzck_verson2.pojo.page.MyPage;

import java.util.List;

/**
 * <p>
 * 工程信息 服务类
 * </p>
 *
 * @author 任永辉
 * @since 2024-01-06
 */
public interface IGProjectInfoService extends IService<GProjectInfo> {
    /**
     * 添加工程
     * @param projectInfo
     * @return
     */
    public SaResult saveProjectInfo(GProjectInfo projectInfo);
    /**
     * 条件分页查询
     * @param projectType
     * @return
     */
    IPage<GProjectInfo>  pageByCondition(MyPage<GProjectInfo> projectType);
}
